package com.sample.tdf.domain;

import cn.com.taiji.common.annotation.BaseJoinId;
import cn.com.taiji.common.base.BaseJoinDomain;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;


@Data
@NoArgsConstructor
@Entity
@Table(name = "tdf_organization_to_employee")
public class PeopleOrganization extends BaseJoinDomain {
    private static final long serialVersionUID = 7578292815541249813L;

    @BaseJoinId(index = BaseJoinId.Index.first)
    private String organizationId;
    @BaseJoinId(index = BaseJoinId.Index.second)
    private String peopleId;
}
